home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part2 / 11224 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  809 b 

  1. Path: dispatch.news.demon.net!demon!nibelung.demon.co.uk
  2. From: barry.1@nibelung.demon.co.uk (Barry Shilliday)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Amigados - checking for a file
  5. Date: Sat, 06 Apr 1996 03:03:48 GMT
  6. Message-ID: <401.6670T240T431@nibelung.demon.co.uk>
  7. NNTP-Posting-Host: nibelung.demon.co.uk
  8. X-NNTP-Posting-Host: nibelung.demon.co.uk
  9. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  10.  
  11. What would be the format to check the existence of a file in a script for dos?
  12. I would have thought something like this:
  13.  
  14. If EXISTS blah:filename
  15.   dowhatever
  16.   else
  17.    dothatinstead
  18.    endif
  19. endif
  20.  
  21. but this doesn't work.
  22.  
  23. --
  24. 06-Apr-96 03:58:31
  25.  
  26.         Barry Shilliday  --  <barry@nibelung.demon.co.uk>
  27.                A1200/030/50/8+2/170  -  KS 3.1
  28.              Public PGP Key available on request.
  29.  
  30.